package com.yellow.dispatchservice.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yellow.dispatchservice.entity.RoutePlan;
import com.yellow.dispatchservice.mapper.RoutePlanMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class RoutePlanServiceImpl extends ServiceImpl<RoutePlanMapper, RoutePlan> implements RoutePlanService {

    @Resource
    private RoutePlanMapper routePlanMapper;
    @Override
    public String getDestinationByOrderId(Integer orderId) {

        return routePlanMapper.getDestinationByOrderId(orderId);
    }
}
